package com.maiji.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;


@SpringBootApplication
@EnableFeignClients
@EnableScheduling
@EnableAsync
@EnableEurekaClient  //本服务启动后会自动注册进eureka服务中
public class AppCommunity_Main {

    public static void main(String[] args) {
        SpringApplication.run(AppCommunity_Main.class, args);
    }

}
